
package JavaFiler;

/**
 *
 * @author Gjerde & Hoff
 * 
 * This is a class used to represent alternatives in tasks.
 */
public class TaskAlt {
    
    private int taskId, altId;
    private String alternative;
    
    public TaskAlt(int id, String alt, int altId){
        taskId = id;
        alternative = alt;
        this.altId= altId;
    }

    public void setAlternative(String alternative) {
        this.alternative = alternative;
    }

    public void setTaskId(int taskId) {
        this.taskId = taskId;
    }

    public String getAlternative() {
        return alternative;
    }

    public int getTaskId() {
        return taskId;
    }

    public int getAltId() {
        return altId;
    }

    public void setAltId(int altId) {
        this.altId = altId;
    }
}
